package com.alibaba.csp.sentinel.dashboard.rule.nacos;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * sentinel nacos相关配置
 *
 * @Author: PPV
 * @Date: 2023-03-23
 */
@Data
@Component
@ConfigurationProperties(prefix = "sentinel.nacos")
// @ConditionalOnProperty(name = "sentinel.nacos.enable", havingValue = "true")
public class SentinelNacosProperties {

	private String serverAddr;

	private String namespace;

	private String username;

	private String password;

	private String groupId = "SENTINEL_GROUP";

}
